.PHONY:all
all:client server

client:chat_clnt.c
	gcc -o $@ $^ -l pthread
server:chat_server.cpp
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f client server